<template>
  <div class="view">
    <!-- <div class="img"><img src="@/assets/img/speColumn.svg" alt=""></div> -->
    <!--<div class="text">专栏</div>-->
    <div class="img"><img :src="url" alt=""></div>
    <div class="text">{{name}}</div>
  </div>
</template>

<script>
  export default {
    name: "Item",
    props:{
      name:{},
      url:{}
    }
  }
</script>

<style scoped>
  .view {
    display: flex;
  }

  .img img {
    flex: 1;
    width: 25px;
    height: 25px;
  }

  .text {
    flex: 1;
    font-size: 15px;
    margin-top: 3px;
  }
</style>